package com.huibur.devicecheck.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huibur.devicecheck.model.param.AssignTaskParam;
import com.huibur.devicecheck.model.param.JudgePowerParam;
import com.huibur.devicecheck.model.po.AssignTaskPO;
import com.huibur.devicecheck.request.ObjRes;

/*******************************************************
* @title: IAssignTaskService.java
* @description:
* @author wushiqi
* @date 2021/9/29
* @version 1.0
*******************************************************/
public interface IAssignTaskService extends IService<AssignTaskPO> {

    /**
     * 分配管理
     * @param assignTaskParam
     * @return
     */
    ObjRes<Void> assignTasks(AssignTaskParam assignTaskParam);

    /**
     * 判断是否有提交权限
     * @param judgePowerParam
     * @return
     */
    Boolean judgePower(JudgePowerParam judgePowerParam);
}
